<?php
	$kode=$_POST['kode'];
	$deskripsi=$_POST['deskripsi'];
	$alos=$_POST['alos'];
	$jenis=$_POST['jenis'];
	
	
	if(isset($_POST['submit'])){
		$sql="insert into master_inacbg values ('$kode','$deskripsi',$alos,$jenis)";
		$qry=mysql_query($sql);
	}
	$url_sukses='utama.php?module=mod_minacbg';
	if($qry){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>